﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Crgd.UAuthServer.Core
{
    public class RetryablePayload
    {
        public RetryableEvents Event { get; set; }

        /// <summary>
        /// 标签，用于区分事件来源
        /// </summary>
        public object Tag { get; set; }

        /// <summary>
        /// 重试试数
        /// </summary>
        public int RetryTimes { get; set; }

        public Exception Error { get; set; }
    }
}
